<?php

namespace backend\controllers;
use common\models\User;
use yii;
use yii\web\Controller;

/**
 * Site controller
 */
class UserController extends Controller
{
    public function  actionIndex()
    {
        $user = new User();
        $list = $user::find()->where('id=1')->asArray()->one();
        var_dump($list);exit;

    }
}
